# !/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Time : 2023/4/25 16:37
# @Author : xyjiang1216
# @Email : jiangxuyan@nudt.edu.cn
# @File : itp_global_variables.py
# @Version: OpenPlanner2.0

# 定义常量
FAIL = 0
SUCCESS = 1

TABU_ENTRY_EQUAL = 1
TABU_ENTRY_UNEQUAL = 0

MAX_SCHED_SLOT = 2000

# 主函数
TEST_NUM = 1
# TEST_NUM = 1

# 资源参数
CQF_QUEUE_LEN = 10

# tabu函数中的参数
# 算法相关参数
CANDIDATE_NUM = 10
STEP_SIZE = 5
MAX_LOOP_NUM = 50000
# 这个参数不知道什么含义
# MAX_IN_NUM = 2000
MAX_IN_NUM = 1000
# 禁忌搜索列表的长度
TABU_TBL_SIZE = 500
# 最好的解重复出现的次数
MAX_REPEAT_NUM = 200
# MAX_REPEAT_NUM = 10

RAND_MAX = 2147483647
